<%--
  Created by IntelliJ IDEA.
  User: timcarl
  Date: 3/25/12
  Time: 10:09 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <meta name="layout" content="main"/>
    <title>- Customer Log In</title>
</head>
<body>


<h1>Log In to Your Bidsanity Account</h1>
<g:form action="login" >
    <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
    </g:if>
    <table>
        <tr>
            <td>
            <label for="emailAddress">
                <g:message code="customer.emailAddress.label" default="Email Address"/>
            </label>
            </td>
            <td>
                <g:field type="email" name="emailAddress" id="emailAddress" />
            </td>
        </tr>
        <tr>
            <td>
                <label for="password">
                    <g:message code="customer.password.label" default="Password"/>
                </label>
            </td>
            <td>
            <g:passwordField name="password" maxlength="8" id="password" />
            </td>
        </tr>
    </table>
    <g:submitButton name="create" value="${message(code: 'default.button.login.label', default: 'Log In')}" />
</g:form>
<p></p>
<p>Admin User is "admin@bidsanity.net", pw "admin1"</p>
</body>
</html>